package model.fshare.server;

import java.net.ServerSocket;
import java.net.Socket;

public abstract class FShareSocketDistributor implements ServerFileShareRequestThread
{
	protected ServerSocket serverSocket;

	protected abstract void distribute(Socket socket, int roomId, int userId, String fileName);
	
	public void startRunning()
	{
		Thread thread = new Thread( this );
		thread.start();
	}
}
